﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000EC9 RID: 3785
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueDifficultyLevelInfo : IMessage<RogueDifficultyLevelInfo>, IMessage, IEquatable<RogueDifficultyLevelInfo>, IDeepCloneable<RogueDifficultyLevelInfo>, IBufferMessage
	{
		// Token: 0x17002FF9 RID: 12281
		// (get) Token: 0x0600A989 RID: 43401 RVA: 0x001C9BCC File Offset: 0x001C7DCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueDifficultyLevelInfo> Parser
		{
			get
			{
				return RogueDifficultyLevelInfo._parser;
			}
		}

		// Token: 0x17002FFA RID: 12282
		// (get) Token: 0x0600A98A RID: 43402 RVA: 0x001C9BD3 File Offset: 0x001C7DD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueDifficultyLevelInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002FFB RID: 12283
		// (get) Token: 0x0600A98B RID: 43403 RVA: 0x001C9BE5 File Offset: 0x001C7DE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueDifficultyLevelInfo.Descriptor;
			}
		}

		// Token: 0x0600A98C RID: 43404 RVA: 0x001C9BEC File Offset: 0x001C7DEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDifficultyLevelInfo()
		{
		}

		// Token: 0x0600A98D RID: 43405 RVA: 0x001C9BFF File Offset: 0x001C7DFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDifficultyLevelInfo(RogueDifficultyLevelInfo other) : this()
		{
			this.difficultyIdList_ = other.difficultyIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A98E RID: 43406 RVA: 0x001C9C29 File Offset: 0x001C7E29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueDifficultyLevelInfo Clone()
		{
			return new RogueDifficultyLevelInfo(this);
		}

		// Token: 0x17002FFC RID: 12284
		// (get) Token: 0x0600A98F RID: 43407 RVA: 0x001C9C31 File Offset: 0x001C7E31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> DifficultyIdList
		{
			get
			{
				return this.difficultyIdList_;
			}
		}

		// Token: 0x0600A990 RID: 43408 RVA: 0x001C9C39 File Offset: 0x001C7E39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueDifficultyLevelInfo);
		}

		// Token: 0x0600A991 RID: 43409 RVA: 0x001C9C47 File Offset: 0x001C7E47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueDifficultyLevelInfo other)
		{
			return other != null && (other == this || (this.difficultyIdList_.Equals(other.difficultyIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A992 RID: 43410 RVA: 0x001C9C7C File Offset: 0x001C7E7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.difficultyIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A993 RID: 43411 RVA: 0x001C9CB0 File Offset: 0x001C7EB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A994 RID: 43412 RVA: 0x001C9CB8 File Offset: 0x001C7EB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A995 RID: 43413 RVA: 0x001C9CC1 File Offset: 0x001C7EC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.difficultyIdList_.WriteTo(ref output, RogueDifficultyLevelInfo._repeated_difficultyIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A996 RID: 43414 RVA: 0x001C9CE8 File Offset: 0x001C7EE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.difficultyIdList_.CalculateSize(RogueDifficultyLevelInfo._repeated_difficultyIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A997 RID: 43415 RVA: 0x001C9D21 File Offset: 0x001C7F21
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueDifficultyLevelInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.difficultyIdList_.Add(other.difficultyIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A998 RID: 43416 RVA: 0x001C9D4F File Offset: 0x001C7F4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A999 RID: 43417 RVA: 0x001C9D58 File Offset: 0x001C7F58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U && num != 10U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.difficultyIdList_.AddEntriesFrom(ref input, RogueDifficultyLevelInfo._repeated_difficultyIdList_codec);
				}
			}
		}

		// Token: 0x040044CC RID: 17612
		private static readonly MessageParser<RogueDifficultyLevelInfo> _parser = new MessageParser<RogueDifficultyLevelInfo>(() => new RogueDifficultyLevelInfo());

		// Token: 0x040044CD RID: 17613
		private UnknownFieldSet _unknownFields;

		// Token: 0x040044CE RID: 17614
		public const int DifficultyIdListFieldNumber = 1;

		// Token: 0x040044CF RID: 17615
		private static readonly FieldCodec<uint> _repeated_difficultyIdList_codec = FieldCodec.ForUInt32(10U);

		// Token: 0x040044D0 RID: 17616
		private readonly RepeatedField<uint> difficultyIdList_ = new RepeatedField<uint>();
	}
}
